package com.xique.client.bean.request;

import com.xique.common.core.web.request.BaseRequest;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;

/**
 * @author shd
 * @create 2021/8/9 15:02
 */
@Data
@ApiModel("修改剩余车位数")
@EqualsAndHashCode(callSuper = true)
public class ClientSpaceEditRequest extends BaseRequest {

    @ApiModelProperty("项目ID")
    private Long parkId;

    @ApiModelProperty("车库ID")
    @NotNull(message = "车库ID不能为空")
    private Long garageId;

    @ApiModelProperty("数量（正数为增加剩余车位，负数为减少剩余车位）")
    @NotNull(message = "修改数量不能为空")
    private Long tempEmptySpace;
}
